package com.zxy.ziems.server.foms.dto;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class DeptTreeVo {

    public String id;

    public String name;

    public String parentId;

    public List<DeptTreeVo> children;

    public DeptTreeVo(){}

    public DeptTreeVo(String id, String name, String parentId){
        this.id = id;
        this.name = name;
        this.parentId = parentId;
        this.children = new ArrayList<>();
    }
}
